﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;

namespace DAL.Service
{
    public interface IWebInfomationPublishService : IBaseService
    {
        /// <summary>
        /// 获取对应模版的信息
        /// </summary>
        /// <param name="pageno"></param>
        /// <param name="pagesize"></param>
        /// <param name="template">所属模版</param>
        /// <returns></returns>
        IList getlist(int pageno, int pagesize, int template);
        IList getlistweb(int pageno, int pagesize, int template);
        /// <summary>
        /// 获取信息表单笔记录
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        IList getinfomationbyid(int id);
        /// <summary>
        /// 删除信息，假删除
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        int delete(int id);

        /// <summary>
        /// 带权限的列表
        /// </summary>
        /// <param name="pageno"></param>
        /// <param name="pagesize"></param>
        /// <param name="template"></param>
        /// <returns></returns>
        IList getlistwebrule(int pageno, int pagesize, int template,int jwclass);
        /// <summary>
        /// 获取信息表单笔记录
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        IList getinfomationbyidrule(int id,int jwclass);

        IList getclasslist();

        IList getxw();
    }
}
